/* 主页面布局样式 */
.layout-container {
    height: 100vh;
}

.sidebar {
    background-color: #2d3a4b;
    overflow: hidden;
}

.logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #434a50;
}

.logo h2 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.sidebar-menu {
    border: none;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-menu .el-menu-item {
    height: 50px;
    line-height: 50px;
}

.sidebar-menu .el-menu-item i {
    margin-right: 8px;
}

.header {
    background-color: white;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 8px #f0f1f2;
}

.header-left {
    flex: 1;
}

.header-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #409EFF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.main-content {
    padding: 20px;
    background-color: #f5f7fa;
    min-height: calc(100vh - 120px);
}

.footer {
    text-align: center;
    padding: 10px 0;
    color: #888;
    background: #f5f5f5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        padding: 10px;
    }
    
    .header {
        padding: 0 10px;
    }
    
    .header-title {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 5px;
    }
    
    .header {
        padding: 0 5px;
    }
    
    .header-title {
        font-size: 14px;
    }
}